﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="TanashCMS.Business"
    namespace="TanashCMS.Business">
	<class name="Category" table="Category" lazy="false">
		<id column="ID" name="ID">
			<generator class="identity" />
		</id>
		<property name="OrderIndex" column="OrderIndex" />
		<property name="Title" column="Title" />
    <property name="ItemKey" column="ItemKey" />
		<property name="ParentID" column="ParentID" />
		<property name="State" column="State" />
		<property name="IsDefault" column="IsDefault" />
		<property name="WebsiteID" column="WebsiteID" />
		<property name="GUID" column="GUID" />
		<property name="HTMLContent" column="HTMLContent" />
		<property name="PhotoURL" column="PhotoURL" />
		<property name="MasterPage" column="MasterPage" />
    <property name="DateCreated" column="DateCreated" />
    <property name="LastUpdated" column="LastUpdated" />
		<!--
		<many-to-one name="Website" class="TanashWebsite" column="WebsiteID" foreign-key="ID" />
		-->
	</class>
</hibernate-mapping>
